
import request from '@/utils/request'

// 查询招聘公告信息
export function getRecruitNotice(data) {
  return request({
    url: '/app/recruit/notice/list',
    method: 'get',
	params: data
  })
}

// 查询招聘公告详情信息
export function getRecruitNoticeDetail(noticeId) {
  return request({
    url: '/app/recruit/notice/detail/'+noticeId,
    method: 'get',
	  params: null
  })
}

// 加入收藏公告
export function addLikeNotice(noticeId) {
  return request({
    url: '/app/recruit/notice/addLike/'+noticeId,
    method: 'post',
	  data: null
  })
}

// 取消收藏公告
export function cancelLikeNotice(noticeId) {
  return request({
    url: '/app/recruit/notice/cancelLike/'+noticeId,
    method: 'post',
	  data: null
  })
}

// 获取收藏公告列表
export function getLikeNoticeList(data) {
  return request({
    url: '/app/recruit/notice/likeList',
    method: 'get',
    params: data
  })
}
